/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ImportDataFromPhone;

/**
 *
 * @author o.rybyanskyy
 */
public class ProcessedRecord implements Record{
    
    private static String header = "Name,Value,Date";
    
    private String name;
    private String value;
    private String date;
    
    ProcessedRecord(String n, String v, String d){
        name = n;
        value = v;
        date = d;
    }
    
    ProcessedRecord(ProcessedRecord p){
        name = p.name;
        value = p.value;
        date = p.date;
    }
    
    protected ProcessedRecord(){
        //dummy constructor to access header
    }
    
    String getName(){
        return name;
    }
    
    String getValue(){
        return value;
    }
    
    String getDate(){
        return date;
    }
    
    public String getCSVString(){
        return name+","+value+","+date;
    }
    
    public String getHeader(){
        return header;
    }
    
}
